﻿using DapperExtensions;
using MathNet.Numerics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Contexts;
using System.Text;
using System.Threading.Tasks;

namespace ET_DbCommon.Model
{
    [Table("sys_user")]
    public partial class Sys_UserModel
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 登录账号
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }

        /// <summary>
        /// md5密码盐
        /// </summary>
        public string Salt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string College { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Id_Number { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTime Birthday { get; set; }

        /// <summary>
        /// 性别(0-默认未知,1-男,2-女)
        /// </summary>
        public byte Sex { get; set; }

        /// <summary>
        /// 电子邮件
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 1:管理员2:考生3:综合成绩查看4:理论成绩添加
        /// </summary>
        public string Org_Code { get; set; }

        /// <summary>
        /// 性别(1-正常,2-冻结)
        /// </summary>
        public byte Status { get; set; }

        /// <summary>
        /// 删除状态(0-正常,1-已删除)
        /// </summary>
        public byte Del_Flag { get; set; }

        /// <summary>
        /// 第三方登录的唯一标识
        /// </summary>
        public string Third_Id { get; set; }

        /// <summary>
        /// 第三方类型
        /// </summary>
        public string Third_Type { get; set; }

        /// <summary>
        /// 同步工作流引擎(1-同步,0-不同步)
        /// </summary>
        public byte Activiti_Sync { get; set; }

        /// <summary>
        /// 工号，唯一键
        /// </summary>
        public string Work_No { get; set; }

        /// <summary>
        /// 职务，关联职务表
        /// </summary>
        public string Post { get; set; }

        /// <summary>
        /// 座机号
        /// </summary>
        public string TelePhone { get; set; }

        /// <summary>
        /// 部门id
        /// </summary>
        public string Dept_Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string Create_By { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Create_Time { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string Update_By { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime Update_Time { get; set; }

        /// <summary>
        /// 身份（1普通成员 2上级）
        /// </summary>
        public byte User_Identity { get; set; }

        /// <summary>
        /// 负责部门
        /// </summary>
        public String Depart_Ids { get; set; }

        /// <summary>
        /// 工区id
        /// </summary>
        public string Work_Area_Id { get; set; }
    }

}
